//
//  ConverterController.h
//  TemperatureConverter
//
//  Created by Wang Shao-chuan on 2010/12/27.
//  Copyright 2010 National Taiwan University. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "Converter.h"

@interface ConverterController : NSObject {
	IBOutlet NSSlider *mCelsius;
	IBOutlet NSSlider *mFahrenheit;
	IBOutlet NSSlider *mKelvin;
	IBOutlet NSTextField *mCelsiusText;
	IBOutlet NSTextField *mFahrenheitText;
	IBOutlet NSTextField *mKelvinText;
	
	Converter *mConverter;
}

- (IBAction)celsiusChanged:(id)sender;
- (IBAction)fahrenheitChanged:(id)sender;
- (IBAction)kelvinChanged:(id)sender;
- (void)updateSliders;
- (void)updateTextLabels;


@end
